# -*- coding: utf-8 -*-

import winsound


class MusicPlay(object):
    def __init__(self):
        pass

    def playStart(self):
        path = '..\\music\\start.wav'
        winsound.PlaySound(path, winsound.SND_ASYNC | winsound.SND_FILENAME)

    def playStep(self):
        path = '..\\music\\step.wav'
        winsound.PlaySound(path, winsound.SND_ASYNC | winsound.SND_FILENAME)

    def playWin(self):
        path = '..\\music\\win.wav'
        winsound.PlaySound(path, winsound.SND_ASYNC | winsound.SND_FILENAME)

    def playLose(self):
        path = '..\\music\\lose.wav'
        winsound.PlaySound(path, winsound.SND_ASYNC | winsound.SND_FILENAME)

    def playTie(self):
        path = '..\\music\\tie.wav'
        winsound.PlaySound(path, winsound.SND_ASYNC | winsound.SND_FILENAME)


if __name__ == "__main__":
    play = MusicPlay()
    play.playStart()
    play.playStep()
    play.playWin()
    play.playLose()
    play.playTie()
